/* Main struct for the records...*/
#define TRUE	0
#define FALSE	1

#define NAME_MAX	20
#define TEL_MAX		12
struct contact{
	char name[NAME_MAX];
	unsigned int age;
	char tel[TEL_MAX];
	struct contact* sig;
};

int menu(void);
int addcontact(FILE* file, struct contact data[], int* p_index);
int delcontact(FILE* file, struct contact data[], int* p_index);
int showcontact(FILE* file, struct contact data[], int* p_index);
int initfile(FILE* file, struct contact data[], int* p_index, int is_text);
int recorddata(FILE* file, struct contact data[], int* p_index, int is_text);
